Skip to content

Fixes issue with docker-entry-point when memory_limit is set #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 5, 2021
Merged

Fixes issue with docker-entry-point when memory_limit is set #58

merged 1 commit into from
May 5, 2021

Conversation

Eydamos
Copy link
Contributor

@Eydamos Eydamos commented May 5, 2021

The docker-entry-point uses exec to run the command given to the docker container and interprets the COMPOSER_MEMORY_LIMIT as the executable instead of interpreting it as a runtime environment variable.
So I moved it to be an --env argument to the docker run command which worked fine in my test.

@g105b
Copy link
Member

g105b commented May 5, 2021

I'll just give this a test myself before merging. Will check it out within an hour or two.

@g105b g105b merged commit 03bc649 into php-actions:master May 5, 2021
@g105b
Copy link
Member

g105b commented May 5, 2021

Thanks again for your contributions 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants